﻿using System.Web.Optimization;

namespace Panorama
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new StyleBundle("~/Content/kendo-css").Include(
                "~/Styles/kendo/kendo.common.min.css",
                "~/Styles/kendo/kendo.blueopal.min.css"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                "~/Styles/site.css"));
            
            bundles.Add(new ScriptBundle("~/Scripts/kendo-js").Include(
                "~/Scripts/kendo/kendo.all.min.js",
                "~/Scripts/kendo/kendo.aspnetmvc.min.js",
                "~/Scripts/kendo/kendo.colorpicker.min.js"));
          
            bundles.Add(new ScriptBundle("~/Scripts/jquery").Include(
                "~/Scripts/kendo/jquery.min.js"));

               bundles.Add(new ScriptBundle("~/Scripts/register").Include(
                "~/Scripts/register.js"));

            bundles.Add(new ScriptBundle("~/Scripts/index").Include(
                "~/Scripts/index.js"));
            
            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                "~/Scripts/jquery.validate*"));
        }
    }
}